<link rel="stylesheet" href="http://lib.sinaapp.com/js/bootstrap/latest/css/bootstrap.min.css" type="text/css"
      media="screen, projection"/>
<link rel="stylesheet" href="http://lib.sinaapp.com/js/bootstrap/latest/css/bootstrap-responsive.min.css"
      type="text/css" media="screen, projection"/>
<notempty name="tasks">
    <table class="table">
        <tr>
            <th>ID</th>
            <th>TASK</th>
            <th>IMAGE</th>
            <th>STATUS</th>
            <th>MALL</th>
            <th>FLOOR</th>
            <th>BRAND</th>
        </tr>
        <foreach name="tasks" item="task">
            <tr>
                <td>{$task.tid}</td>
                <td>{$task.title}</td>
                <td>
                    <if condition="$task['status'] eq 100">
                        <img src="{$task.image_url}"/>
                    </if>
                </td>
                <td>{$task.status_info}</td>
                <td>{$task.mall.name}</td>
                <td>{$task.floor.name}</td>
                <td>{$task.brand.name}</td>
            </tr>
        </foreach>
        <tr>
            <td>发送时间：</td>
            <td colspan="2">{$date}</td>
            <td>总数：</td>
            <td colspan="3">{$tasks|count}</td>
        </tr>
    </table>
</notempty>